package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.LocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ImportProductTechTrainDto类
 *
 * @author zxf
 * @since 2024-10-15
 */
@Data
public class ImportProductTechTrainDto {

    @ExcelProperty(value = "产品和技术培训名称(必填)", index = 0)
    @ApiModelProperty("产品和技术培训名称")
    private String trainName;

    @ExcelProperty(value = "发布人姓名", index = 1)
    @ApiModelProperty("发布人姓名")
    private String enterName;

    @ExcelProperty(value = "发布日期", index = 2, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("发布日期")
    private LocalDateTime enterDate;

    @ExcelProperty(value = "备注", index = 3)
    @ApiModelProperty("备注")
    private String description;

    @ExcelProperty(value = "文件名称", index = 4)
    @ApiModelProperty("文件名称")
    private String fileName;

    @ExcelProperty(value = "文件路径", index = 5)
    @ApiModelProperty("文件路径")
    private String fileUrl;

}
